import { myRequire } from "./https";
//确定订单
export function get_order_checkOrde(query, header) {
  return myRequire("/order/checkOrder", "post", query, header);
}
//获取默认收货地址

export function get_default_addr(query, header) {
  return myRequire("/order/get_default_addr", "post", query, header);
}
//获取收货地址列表

export function get_AddrList(query, header) {
  return myRequire("/order/getAddrList", "post", query, header);
}
//设置默认地址

export function get_set_defult_add(query, header) {
  return myRequire("/order/set_default_addr", "post", query, header);
}
//删除地址

export function get_del_addr(query, header) {
  return myRequire("/order/del_addr", "post", query, header);
}
//保存，修改 收货地址信息

export function get_order_saveAddress(query, header) {
  return myRequire("/order/saveAddress", "post", query, header);
}
//提交订单

export function get_order_submitOrde(query, header) {
  return myRequire("/order/submitOrder", "post", query, header);
}
//支付订单
export function get_order_payOrder(query, header) {
  return myRequire("/order/payOrder", "post", query, header);
}
//订单列表
export function get_order_getOrderList(query, header) {
  return myRequire("/order/getOrderList", "post", query, header);
}
